﻿namespace Authority.DataTransferObject.Role
{
    /// <summary>
    /// 角色权限列表数据传输莫
    /// </summary>
    public class RoleAuthorityDTO : RoleAuthorityListDTO
    {
        /// <summary>
        /// 父ID
        /// </summary>
        public Guid? ParentID { get; set; }
        /// <summary>
        /// 角色的菜单
        /// </summary>
        public Dictionary<Guid, string> MenuInfo { get; set; } = new Dictionary<Guid, string>();

        /// <summary>
        /// 角色的功能
        /// </summary>
        public Dictionary<Guid, string> ActionInfo { get; set; } = new Dictionary<Guid, string>();

        /// <summary>
        /// 角色的路由
        /// </summary>
        public Dictionary<Guid, string> RoutingInfo { get; set; } = new Dictionary<Guid, string>();
    }
}
